﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DMHelper.Models
{
    public class SavingThrowContainer
    {
        public StringField SavingThrowName = new StringField();
        public AdditionNumericalField TotalSave = new AdditionNumericalField();
        public NumericalField baseSave = new NumericalField();
        public ReferenceNumericalField abilityBonus = new ReferenceNumericalField(new NumericalField());
        public NumericalField magicalBonus = new NumericalField();
        public NumericalField miscBonus = new NumericalField();

        public SavingThrowContainer(NumericalField abilityReference, String Name)
        {
            abilityBonus = new ReferenceNumericalField(abilityReference);
            SavingThrowName.Value = Name;
        }
    }
}